package com.firewolf.springcloud.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.firewolf.springcloud.service.HelloService;

@RestController
public class HelloController {

	@Autowired
	private HelloService service;
	
	@GetMapping("/hello")
	public Map<String, Object> hello(){
		return service.hello();
	}
}
